package cn.com.bluemoon.daps.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class ApplicationModelDto {

    @ApiModelProperty(value = "发布记录id")
    private String id;

    @ApiModelProperty(value = "模型id")
    private String modelId;

    @ApiModelProperty(value = "系统名称")
    private String systemName;

    @ApiModelProperty(value = "模型名称")
    private String modelName;

    @ApiModelProperty(value = "业务线：1: 现代渠道,2: 电商,3: 财务,4: 供应链,5: 人事行政后勤,6: 社区（含高校等）,7: 洗衣服务,8: 月亮商城,9: 客服,10: 管理学院")
    private Integer businessLine;

    @ApiModelProperty(value = "模型对应的系统分类,1: BUSINESS_SYS 业务系统,2: WAREHOUSE_SYS 数仓系统,3: DATA_PRODUCE 数据产品,4: OTHER 其他")
    private Integer sysType;

    @ApiModelProperty(value = "变更单号")
    private String changeOrder;

    @ApiModelProperty(value = "申请时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime applicationTime;

    @ApiModelProperty(value = "申请人")
    private String applicationBy;

    @ApiModelProperty(value = "审核状态, 1:已发布，2:草稿, 3:待审核，4:不通过")
    private Integer publicStatus;

    @ApiModelProperty(value = "审核人")
    private String verifyBy;

    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime releaseTime;

    @ApiModelProperty(value = "变更描述")
    private String changeDesc;
}
